package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
public class JsDictType {
    //字典id
    private Integer dictId;
    //字典名称
    private Integer dictName;
    //字典类型
    private String dictType;
    //字典类型下的数据
    private List<JsDictData> data;
    //状态，0正常，1停用
    private String status;
    //创建人
    private Integer createBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //创建时间
    private Date createTime;
    //更新人
    private Integer updateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //更新时间
    private Date updateTime;
    //备注
    private String remark;



}
